<%@ page import="cn.gudian.cms.News.ArcType; cn.gudian.cms.Admin.AuthSession; cn.gudian.cms.News.Article" %>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="layout" content="main"/>
   <script src="/js/jquery.min.js" type="text/javascript"></script>
  <title><g:message code="article.create" default="Create Article"/></title>
  <script>
    //图片上传完成后调用该方法
    function imgUploadSucceed(name, path, w, h) {
      $("#title").val(name);
      $("#img").val(path);

    }
    //裁剪后的图片调用该方法
    function imgCropSucceed(path){
         $("#imgS").val(path);
    }

  </script>
</head>
<body>
标题：<input type="text" name="title" id="title">
小图：<input type="text" name="imgS" id="imgS">
原图：<input type="text" name="img" id="img">
<iframe name="fileUpload" src="/share/imgupload.gsp?w=132&h=192" width="100%" height="50px" frameborder="0" scrolling="no"></iframe>
</body>
</html>
